package ref_circle_b

import (
	"fmt"
)

func GetName() string {
	return "bag B"
}

func PrintB() {
	fmt.Println(fmt.Sprintf("I am bag B, and %s is bag A", AHandler()))
}

var AHandler func() string

func Register(f func() string) {
	AHandler = f
}
